home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr31
/
isee50.zip
/
IC.DOC
< prev
next >
Wrap
Text File
|
1993-05-01
|
23KB
|
604 lines
╓────────────────────────────────────────────╖
▒║ ║▒
▒▒║ "I SEE" ║▒▒
▒▒║ ║▒▒
▒▒║ ║▒▒
▒▒║ *Intelligent* ║▒▒
▒▒║ ║▒▒
▒▒║ Compression Shell ║▒▒
▒║ ║▒
╙────────────────────────────────────────────╜
Version 5.0
Major Upgrade and Complete Code Re-Write
Supports: PKZIP ARJ ZOO ARC HAP SQZ PAK HA DWC LHA
No need to strain your memory with the 10 compression programs out
there, attempting to recall every switch, every condition, every
different utility...
Should I PKUNZIP or ARC e, or ARJ x ???
To make a self-extracting file,
should I "ARJ F -JE1", "PAK C /EXE" or "LHA /x1/!"?
In order to standardize these methods, I have created IC.EXE.
A small, powerful program that RUNS your compressor according to
the files it finds.
Not only does it just find compressors,
but it ALSO identifies self-extracting files.
So if you are unsure about the compression method
of your file--> BACKS.EXE, this utility automatically
determines if it has been compressed with ARC, ZIP,
LHA, or ARJ, and allows you to manipulate the file.
What's even MORE awesome is that IC.EXE recognizes a compressed
file by the file header. So it is not fooled by archives inside
of archives, etc. Even renamed or misnamed files are identified
correctly.
SO: ARCHIVE.001 could be PKZIPed
ARCHIVE.002 could be ARCed
ARCHIVE.003 could be HAPed
ARCHIVE.004 could be SQEEZEd
You do not have to identify these files yourself, rather let the
*Intelligent* Compressor ID them. It does not matter if the file
has a .ZIP extension or not, IC will always correctly show their
real nature.
To list all the files in your current directory, you could use:
IC /ID *.* which would show all compressed files
Usage: IC [/switch] [compressed-file] [path/file] [file]
/A add files
/D delete files
/E extract files
/R extract & replace files
/F freshen files
/L list files
/M move files to archive
/P display to standard output
/T test integrity
/SFX make self-extracting archive
/TEL make LHA \"telop\" SFX file
/ID displays file compression format
/CV convert self-extractor to normal
/Q Quiet mode (suppress output)
Copyright (C) David Smith All Rights Reserved
==========================================================================
====== EXPLANATION OF SWITCHES =========================================
==========================================================================
/A Add files. This adds files (or updates) to an archive. In most
cases, it will also create the archive if it already does not
exist.
In most archivers, this is the "a" switch.
/D Delete files. This deletes files that are already inside an
archive. In most archivers, this is the "d" switch.
/E Extract files. This extracts files from within an archive to
the current directory. Most archivers will allow a directory
to be specified after the filename.
IE: IC e FILE.ZIP \utils will extract FILE.ZIP into
the \UTILS directory
In most archivers, this is the "e" or "x" switch.
/R extract and Replace files. Unlike the /E switch, this will
extract files and replace files that currently exist. If the
file TEST.BAT is contained within the archive: TEST.ZIP, and is
also in the current directory, extracting it will cause:
"Warning! TEST.BAT already exists. Overwrite?"
To stop this annoying message, use the /R switch. That tells
the archiver to ALWAYS overwrite a file if it already exists.
BE CAREFUL! You may overwrite something you really did not
want to erase. And a unerase program will not HELP!
/F Freshen files. This is similar to a "BACKUP", because it replaces
files in the archive with the same newer files.
So if you have the file TEST.BAT in your archive, and you
recently changed TEST.BAT, you can update it in your archive
with the /F switch.
In most archivers, this is the "f" switch.
/L List files. This shows the contents of an archive. Usually,
a utility like FV.COM (Vernon Buerg) will list an archive's
contents, but lately, with SQUEEZE, HAP, and ARJ 2.39d being
brand new, a lot of archive listers have fallen behind in their
ability to ID these things.
In most archivers, this is the "l" switch.
/M Move files. This moves files (or updates) to an archive. In most
cases, it will also create the archive if it already does not
exist.
In most archivers, this is the "m" switch.
/P Print files to standard output. This basically "types" all the
files within the archive to the screen. It can be redirected
easily with: IC /p FILE > PRN for the printer
IC /p FILE > listfile for another file, etc.
In most archivers, this is the "p" switch.
/T Test archive. This tests the integrity of the archived files
using a CRC calculation. If you think the archive is possibly
damaged from a disk error or a bad file transfer, use this
option to find out.
In most archivers, this is the "t" switch.
/SFX Make a self-extracting archive. If you have a favorite archive
called MYARCH.ZIP, and want your friend to have it, yet have
no room on the disk for PKUNZIP.EXE, you can create a self-extracting
archive.
This means that the archive will become an .EXE file, and will
extract itself when run.
NOTE: Most archivers require a separate program to create self-
extractors. For example, ZIP2EXE, MKSARC, MAKESFX, etc.
/TEL Make a LHA "telop" file. Any .LZH file that has a text file
called "!" as the first file in the archive can be made to
display the '!' file before extracting.
This means if you have a BIG advertisement you want displayed
everytime your self-extracting archive expands itself, you merely
put your full-page ad in a text file, name it to '!', then include
that file as the first one in your LHA file.
This is the same as typing: "LHA /x1 /!" on the command line.
For more information on telop files, consult your LHA manual.
/ID Identify files. IC identifies a compressed file by its header,
and therefore cannot be fooled by misnamed files, or archives
within archives. In order to identify those, use this switch.
For example: to show the compression method for all the files
in your current directory: IC /ID *.*
The filename will be shown, followed by the compression program
that created it. NOTE: Only compressed files are shown. All
others are skipped. So if no files are displayed, there are
no compressed files in the directory.
/CV Convert .EXE self-extractors back to normal. If you have a
self-extracting archive, and want it converted back to normal,
you have to create a separate directory, extract it, then re-
compress it with the original archiver.
IC solves this problem by doing it for you.
IC: ■ Identifies the self-extractor
■ Creates a temp directory, extracts all the files
■ Re-compresses the files using the original archiver
/Q Quiet mode. If the normal output is overwhelming to you,
try the quiet mode. This sends all output to the NUL device.
/BAT Batch identification. Identifies a compressed file and
sets the DOS errorlevel according to which compression was
used.
Errorlevel: 0 Unknown (or not compressed)
1 PKZIP
2 ARJ
3 LHA
4 SQEEZE
5 HAP
6 ARC
7 PAK
8 ZOO
9 HA
10 DWC
NOTE: Only single filenames can be used with this switch.
You cannot use: IC /bat *.*
The reason is, that in a batch file, if you identified
all the files, then the errorlevel will be set to only
the LAST file found.
Usage in a batch file would be:
1) IC /bat FILE.EXE
2) if errorlevel=1 goto Zipped
3) if errorlevel=2 goto Arjed ... etc etc
Possibilities include:
» Scan a file. If it's compressed, use the proper
de-compression program to extract it
» If it's an .EXE file, and compressed, run it to
extract the files
» Make a cute batch file to identify all .EXE files
in the directory
» Have a batch file that converts all .EXE self-extractors
you have recently downloaded to their original format
» A batch file that identifies all compressed files,
then determines if the compressing program exists
to extract them. If not, warns the user
==========================================================================
====== VALID EXAMPLES ==================================================
==========================================================================
IC /id *.* Identifies all files in current directory
IC /a NEW.ZIP *.* Uses PKZIP to add all files to NEW.ZIP
IC /d NEW.ZIP old.doc Deletes the file OLD.DOC from NEW.ZIP
IC /d *.* old.doc Deletes the file OLD.DOC from all archives
found in current directory
IC /e *.* Extracts all archives
IC /f/q *.* Freshens all archives, and suppresses all output
from the archiver program
IC /t *.zip Tests all .ZIP files in current directory
IC /sfx *.lzh Makes all LHA files into self-extractors
IC /cv NEW.EXE Converts the archive NEW.EXE into its original
archive format. (creates NEW.ZIP, NEW.LZH or
whatever the original archived format was)
IC /p NEW.ZIP > PRN Pipes all files within NEW.ZIP to the printer
IC /e NEW.ZIP \ Extracts NEW.ZIP to root directory of current drive
NOTE: Switches can be combined, but must be together (no spaces):
IE: /e/q is valid.
/e /q is NOT valid.
The usage of IC is exactly the same as if you were using the
actual compression program.
For example: IC /a MYFILE.ZIP LIST.COM OTHER.COM
would be: PKZIP a MYFILE.ZIP LIST.COM OTHER.COM
and: IC /d FILE.LZH LIST.COM
would be: LHA d FILE.LZH LIST.COM
The difference is that IC finds multiple files !
For example: IC /l FILE.*
would locate: FILE.ZIP
FILE.HAP
FILE.ARC
FILE.EXE
Multiple compressions can be processed at once: IC l STUFF.*
would list: STUFF.ZIP
STUFF.ARC
STUFF.ARJ
STUFF.EXE <-- Note: These two self-extractors can be
STUFF.EXE <-- of different types !
STUFF.ZOO
STUFF.PAK
==========================================================================
====== WHAT'S SO EXCITING ?! ===========================================
==========================================================================
The exciting part of IC is the fact that it automatically recognizes
different types of self-extracting archives.
So the file STUFF.EXE could be an ARJ, ARC, ZIP, or LHA self-extractor
and you don't have to know which one is which.
IC instantly recognizes the archiver, and allows you to add, delete,
freshen.... whatever you want to perform on the file !
NOTE: IF YOU ARE UNSURE of the compression method used on one of your
self-extracting files, just use the /ID switch:
IC /id FILE.EXE and the compression format is displayed.
╓──────────────────────────────────╖
║ SELF-EXTRACTING SWITCHES ║
╙──────────────────────────────────╜
The switches dealing with SFX files are:
1) SFX
This creates a self-extracting archive from a normal archived file.
If used with "zipped" files, it activates ZIP2EXE.EXE.
If used with "arced" files, it activates MKSARC.EXE.
And with LHA or ARJ, it is equivalent to:
LHA S [file]
or ARJ F -JE1 [file]
2) TEL
This activates LHA's "telop" function. Using this switch is
similar to typing:
LHA /x1 /! [file]
╓──────────────────────────────────────╖
║ SIMPLY "LISTING" AN ARCHIVE ║
╙──────────────────────────────────────╜
To list an archive in the current directory, just type:
IC /l [file]
╓───────────────────────────────────────╖
║ WHAT ARE THE SWITCHES ?? ║
╙───────────────────────────────────────╜
If you ever wonder what switches do what, type either:
IC
and the full help screen is displayed.
╔════════════════════════════════════════╗
║ A COMPARISON TO OTHER UTILITIES ║
╚════════════════════════════════════════╝
I have only located two similar program to this one:
MZ.EXE from Bob Zimmerman MetaSys
GUS.EXE from Johan Zwiekhorst TRI-SYSTEMS
MZ is a rather low-level utility that cannot handle self-extractors,
multiple compression formats, and cannot identify files very well.
GUS is a unarchiving shell. It does not allow adding/freshen/making
self-extractors/converting from .EXE/deleting/moving.
The *Intelligent* Compressor allows all this plus more. It's the
only compression front end that covers all the bases, and makes
working with archivers a pleasure. Quit reading those help screens
to your archivers, use IC !
================================================================
COMPRESSION PROGRAMS THAT ARE SUPPORTED
================================================================
PKUNZIP (R) FAST! Extract Utility Version 2.04g 02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware Version
PKUNZIP Reg. U.S. Pat. and Tm. Off.
ARJ 2.39d PRE-RELEASE Copyright (c) 1990-93 Robert K Jung. Mar 06 1993
All Rights Reserved. U.S. Patent No. 5,140,321 and patent pending.
DWC - Archive utility, Release 5.10, Created 3/07/90
(C) Copyright 1986-90 by Dean W. Cooper; All rights reserved.
HA 0.98 Copyright (c) 1993 Harri Hirvola
Hamarsoft (R) Hap&Pah TM 3.00
Copyright (C) 1992 By Harald Feldmann.
Publicly Distributed evaluation copy.
LHA version 2.55b Copyright (c) Haruyasu Yoshizaki, 1988-92
Pak 2.51 Copyright 1988-90 NoGate Consulting
SQZ -- Squeeze It(1.08.3), Jan 24 1993, Copyright J I Hammarberg
Zoo archiver, Version 2.10 (1991/07/09 02:10:34)
(C) Copyright 1991 Rahul Dhesi -- Noncommercial use permitted
ARC - Archive utility, Version 6.02, created in January of 1989
Copyright 1985-89 by System Enhancement Associates, Inc.;
ALL RIGHTS RESERVED
NOTICE: ALL COMPRESSION PROGRAMS ARE THE COPYRIGHT OF THEIR
INDIVIDUAL SHAREWARE PROFESSIONALS OR COMPANIES. IT
IS NO INTENTION OF THE AUTHOR TO USE OR REPLACE THE
PROGRAMS IN ANY MANNER. THE AUTHOR IS ALSO NOT
RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER CAUSED
BY THIS PROGRAM. THE USER IS FULLY RESPONSIBLE
FOR ALL USAGE OF THIS PROGRAM.
╒══════════════════════════════════════════════════════╕
│ │
│ Order your utilities disk for only $20.00 ! │
│ │
│ A disk full of utils, including triple directory │
│ lister, sound effects and MUCH MORE.. │
│ │
│ See the enclosed CATALOG.EXE for more details. │
│ │
╘══════════════════════════════════════════════════════╛
███████╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ████████╗ ██████╗
██╔════╝ ██║ ██║ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██╔══██╗ ╚══██╔══╝ ╚════██╗
╓──███████╗ ██║ ██║ ██████╔╝ ██████╔╝ ██║ ██║ ██████╔╝ ██║ ▄███╔╨─╖
║ ╚════██║ ██║ ██║ ██╔═══╝ ██╔═══╝ ██║ ██║ ██╔══██╗ ██║ ▀▀══╝ ║
║ ███████║ ╚██████╔╝ ██║ ██║ ╚██████╔╝ ██║ ██║ ██║ ██╗ ║
║ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ║
║ ║
║ ║
║ Support for this program is available in the following ways: ║
║ ║
║ ║
║ ╓──┐ ╓──┐ ╓─╥─┐ ╥──┐ ╥ ┬ ╓─┐ ╥──┐ ╥──┐ ╥ ┬ ╥──┐ ║
║ ║ ║ │ ║ ║ │ ╟──┘ ║ │ ╙─┐ ╟─ ╟─┬┘ ╙╖┌┘ ╟─ ║
║ ╙──┘ ╙──┘ ╨ ╨ ┴ ╨ ╙──┘ ╙──┘ ╨──┘ ╨ ┴ ╙┘ ╨──┘ ║
║ User ID: 71441,2723 ║
║ I usually log on every other day and check my mail. ║
║ ║
║ ║
║ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ║
║ █ ▄▄ █▄ █ ▄▄ █▄ █ ▄▄▄▄█ ║
║ █ ▄▄▄ █ █ ▄▄▄ █ █▄▄▄▄ █ ║
║ █▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ ║
║ Drop me a line on the MotherBoard II Bulletin Board ║
║ David Smith (214) 642-1287 ║
║ ║
║ ║
║ ▄██▄ ▄██▄ ▄███████▄ ▄█▄ ▄██▄ ║
║ █████▄█████ ████▀▀▀████ █████ ████ ║
║ ███████████ ████▄▄▄████ █████ ████ ║
║ ████ ████ ███████████ █████ ████ ║
║ ████ ████ ████ ████ █████ ████▄▄▄▄▄▄▄ ║
║ ▀██▀ ▀██▀ ▀██▀ ▀██▀ ▀█▀ ▀████████▀ ║
║ Write to: ║
║ ║
║ David Smith ║
║ 1104 Mason Dr. ║
║ Hurst TX 76053 ║
║ ║
╙─────────────────────────────────────────────────────────────────────────────╜